package com.team.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author keluoyisi
 * @program: seven
 * @description: 医生id和时间
 * @date 2022-10-16 22:22:29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class DoctorDate {
    private String id;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date date;
}
